﻿using Futajma.MigrationStudio.DataDefinition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Futajma.MigrationStudio.GenericPersistance
{
    //public delegate void ProgressUpdate(object sender, long currentStep);
    //public delegate void ProgressInit(object sender, long stepCount, string name);
    //public delegate void ProgressUpdateDone(object sender);


    public interface IProjectPersistence
    {
        event ProgressUpdate ProgressUpdate;
        event ProgressInit ProgressInit;
        event ProgressUpdateDone ProgressUpdateDone;

        void Save(object sendTo, TreeView sourceTreeView, TreeView targetTreeView, ProjectData projectData);

        void Load(object readFrom, TreeView sourceTreeView, TreeView targetTreeView, ProjectData projectData);
    }
}
